
.ui-upload {

  .ui-upload-list-inline {
    .ui-upload-list-item {
      float: left;
      width: 300px;
      margin-right: 10px;
    }
  }

  /* 图片列表 */
  .ui-upload-list-picture {
    .ui-upload-list-item {
      height: 80px;
      padding: 10px;
    }

    .ui-upload-list-item-thumbnail {
      display: block;
    }

    .ui-upload-list-item-name,
    .ui-upload-list-item-size,
    .ui-upload-list-item-progress {
      padding-left: 68px;
    }
  }

  .ui-upload-list-item {
    position: relative;
    margin-top: 10px;
    border: 1px solid #d9d9d9;
    padding: 6px 10px;
    line-height: 20px;
    overflow: hidden;

    &.radius {
      border-radius: $base-radius;
    }

    &:hover {
      .ui-upload-list-item-icon {
        display: block;
      }
    }
  }

  .ui-upload-list-item-thumbnail {
    display: none;
    position: absolute;
    left: 10px;
    top: 10px;
    width: 58px;
    height: 58px;
    background: #f1f1f1;
    text-align: center;
    
    img {
      max-width: 100%;
      max-height: 100%;
    }
  }

  .ui-upload-list-item-name,
  .ui-upload-list-item-size {
    display: block;
    line-height: 20px;
    transition: all .3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  .ui-upload-list-item-name {
    padding-right: 20px;
  }

  .ui-upload-list-item-size {
    color: #999;
  }

  .ui-upload-list-item-icon {
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
    line-height: 1;
    cursor: pointer;
    color: #999;
  }
}